package com.songlanyun.modules.offlineorderincome.controller;

import java.util.Arrays;
import java.util.Map;

//import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.songlanyun.modules.offlineorderincome.entity.OfflineOrderIncome;
import com.songlanyun.modules.offlineorderincome.service.OfflineOrderIncomeService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.common.utils.R;



/**
 * 线下订单分润表
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2023-02-15 13:54:23
 */
@RestController
@RequestMapping("admin/offlineorderincome")
public class OfflineOrderIncomeController {
    @Autowired
    private OfflineOrderIncomeService offlineOrderIncomeService;

    /**
     * 列表
     */
    @RequestMapping("/list")
    //@RequiresPermissions("offlineorderincome:offlineorderincome:list")
    public R list(@RequestParam Map<String, Object> params){
        PageUtils page = offlineOrderIncomeService.queryPage(params);

        return R.ok().put("page", page);
    }



}
